<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户添加</title>
    <script src="angular.min.js"></script>
    <script src="js/base.js"></script>
    <script src="js/controller.js"></script>
    <link rel="stylesheet" href="static/css/css.css">
</head>
<body ng-app="app" ng-controller="userController">
    <div align="center">
        <h1>用户添加</h1>
    </div>

    <table>
        <tr>
            <td>姓名</td>
            <td>
                <input type="text" ng-model="user.username"/>
            </td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
                <input type="text" ng-model="user.password"/>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <button ng-click="addUser()">添加</button>
            </td>
        </tr>
    </table>
</body>
</html>